
let fs = require('fs-extra');
fs.copy('./static', './lib')
  .then(() => console.log(''))
  .catch(err => console.error(err))

fs.copy('./tmp', './lib')
  .then(() => console.log(''))
  .catch(err => console.error(err))


let exec = require('child_process').exec
exec('gulp lib', function (err) {
  if (err) {
    return;
  }
  console.log('success')
})
